package com.lagou.task09;

public abstract class AbstractTest {
    private int cnt;
    AbstractTest(){

    }
    AbstractTest(int i){
        setCnt(i);
    }
    public int getCnt() {
        return cnt;
    }

    public void setCnt(int cnt) {
        this.cnt = cnt;
    }
    public abstract  void show();

    public static void main(String[] args) {
//        AbstractTest at = new AbstractTest(1);//Error:AbstractTest是抽象的; 无法实例化

    }
}
